package com.landeqing.service.impl;

import com.landeqing.dao.impl.ImportExcleDaoImpl;
import com.landeqing.model.User;
import com.landeqing.service.importExcleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ImportExcleServiceImpl implements importExcleService {
    @Autowired
    private ImportExcleDaoImpl ecportExcleDao;

    public int save(User user) {
        return ecportExcleDao.save(user);
    }

    public User idIsExist(int id) {
        return ecportExcleDao.idIsExist(id);
    }

    public int update(User user) {
        return ecportExcleDao.update(user);
    }
}
